
<div class="modal-header">
	<h4 class="modal-title">{{public.label.update + label.userInfo}}</h4>
</div>
<div class="modal-body">
	<form class="form-horizontal" name="form">
		<div class="form-group">
			<label class="col-sm-3 control-label">{{label.userName}}:</label>
			<div class="col-sm-5">
				<input type="text" class="form-control" ng-model="entity.userName" ng-required="true" ng-maxlength="10">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">{{label.nickName}}:</label>
			<div class="col-sm-5">
				<input type="text" class="form-control" ng-model="entity.nickName" ng-required="true" ng-maxlength="10">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">{{label.userMobile}}:</label>
			<div class="col-sm-5">
				<input type="text" class="form-control" ng-model="entity.userMobile" ng-required="true"  ng-pattern="/^1[3-9]{1}[0-9]{9}$/">
			</div>
		</div>
		<div class="form-group">
			<label class="control-label col-sm-3">{{label.userSex}}:</label>
			<div class="col-sm-5">
				<select class="form-control" ng-model="entity.userSex" ng-required="true">
					<option value="0">{{label.userSexSecret}}</option>
					<option value="1">{{label.userSexMale}}</option>
					<option value="2">{{label.userSexFemale}}</option>
				</select>
			</div>
		</div>
		<div class="form-group">
			<label class="control-label col-sm-3">{{label.userBirth}}:</label>
			<div class="col-sm-5">
				<p class="input-group">
					<input type="text" class="form-control" uib-datepicker-popup ng-model="entity.userBirth" is-open="popup2.opened" datepicker-options="dateOptions" ng-required="true" showWeeks="false"/>
					<span class="input-group-btn">
						<button type="button" class="btn btn-default" ng-click="popup2.opened=true"><i class="glyphicon glyphicon-calendar"></i></button>
					</span>
				</p>
			</div>
		</div>
	</form>
</div>
<div class="modal-footer">
	<button class="btn btn-primary" type="button" ng-click="update()" ng-disabled="form.$invalid">{{public.label.ok}}</button>
	<button class="btn btn-default" type="button" ng-click="cancel()">{{public.label.cancel}}</button>
</div>